package com.mingchuang.administrator.mingchuang.utils;

/**
 * Created by Administrator on 2016/1/18.
 */
public class Util {

    public static boolean checkIsNull (Object obj) {
        if (obj == null ) {
            return true ;
        } else {
            String text = (String) obj;
            if (text == null || text.trim().equals("")) {
                return true ;
            } else {
                return false ;
            }
        }
    }

}
